package com.fw.service.persistence;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

import com.fw.service.persistence.dto.ServiceProfile;

public interface ServiceProfilePersistenceService {

    public List<ServiceProfile> selectByMerchantIdAndNotStatus(String merchantId, String serviceStatus);

    public List<ServiceProfile> selectByServiceIdAndStatus(String serviceId, String serviceStatus);

    public List<ServiceProfile> selectByStatus(String serviceStatus);

    public ServiceProfile save(ServiceProfile serviceProfile);

    public ServiceProfile findOne(Long id);

    public Page<ServiceProfile> findAll(Specification<ServiceProfile> specification, PageRequest pageRequest);

    public List<Object> selectDistinctServiceId();

    public List<Object> selectDistinctMerchantId();

    public List<Object> selectDistinctMerchantName();

    public List<Object> selectDistinctCompanyName();

    public List<Object> selectDistinctMdr();

    public List<Object> selectDistinctServiceFee();

    public List<Object> selectDistinctContact1Name();

}
